package edu.spec.wyn.week04.class1;

public class Seal {
    private String name;

    public Seal(String name){
        this.name = "海豹";
    }
    public String getName(){
        return this.name;
    }
    public void eat(Sheel s){

    }
    public void eat(Sheel s1, Sheel s2){

    }
    public void eat(Prawn p){

    }
    public void eat(Sheel s, Prawn p){
        System.out.println("我是：" + this.name + ", 我先吃：" + s.getName() + ",后吃"+ p.getName());
    }
    public void eat(Prawn prawn, Sheel sheel){

    }
}
